﻿using System.Security.Principal;
using System.Threading.Tasks;

namespace Sidvall.Security
{
    public interface IUserProvider
    {
        Task<UserItem> GetUserItemAsync(IIdentity identity);
        Task<UserItem> SaveUserItemAsync(UserItem item);
    }
}
